package com.yisoo.ubag.iot.constant;

public class TopicConstant {
    public static final    String SubOrder = "/sub/order";//服务器命令帧
    public static final    String SubResp = "/sub/resp";//服务器回复帧
    public static final    String PubStatus = "/pub/status"; //设备汇报帧
    public static final    String PubAck = "/pub/ack"; //设备确认帧
///a19pJ9fEVwE/35c8_box/user/sub/order
    public static String getTopicString(String productKey,String devName,String topic){
        return "/"+productKey+"/"+devName+"/user"+topic;
    }
}
